import request from '@/utils/request'

//  *********企业新增*********
/**   接口名称目录              功能
     
**/
export  const  submitEnt = (url,form)=>
	request({
		url,
		method:'post',
		data:JSON.stringify(form)
	})

// 获取企业列表
export  const  BuyerList = (search)=>
	request({
		url:'/op/ent/get_ent_list',
		method:'get',
		params:search
	})
// 获取指定的企业	
export  const  buyerDetail = (code)=>
	request({
		url:'/op/ent/get_ent',
		method:'get',
		params:{
			code
		}
	})
// 删除 企业
export  const  buyerDel = (code)=>
	request({
		url:'/op/ent/delete_ent',
		method:'get',
		params:{
			code
		}
	})